package cn.iocoder.yudao.module.design.controller.admin.notes.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name = "管理后台 - 项目笔记分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class NotesPageReqVO extends PageParam {
    @Schema(description = "项目id")
    private Long houseId;

    @Schema(description = "笔记月份")
    private String month;

    @Schema(description = "日记日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] date;


    @Schema(description = "流程id")
    private Long flowId;

    @Schema(description = "节点id")
    private Long nodeId;

    @Schema(description = "日记信息")
    private String content;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    @Schema(description = "封面")
    private String imgUrl;

    @Schema(description = "状态")
    private String statusCd;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "标题")
    private String title;

}
